package net.chenlin.dp.modules.business.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import net.chenlin.dp.common.entity.R;
import net.chenlin.dp.modules.socket.KeepServer;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Yangsm
 * @ClassName: SendTestController
 * @Description: TODO
 * @date 2023年11月14日 11:25
 */
@RestController
@RequestMapping("/sendTest")
@Api(tags = "测试服务端主动发消息")
public class SendTestController {

    @Transactional
    @ApiOperation(value = "测试")
    @PostMapping("/sendMsg")
    public R excelWarehousing() {
        //KeepServer.DefaultObjectAction
        return R.ok("asdfha");
    }
}
